package smartgrid;

import java.util.List;
import javax.ejb.Local;

@Local
public interface SuppliersInfo {

    /**
     * 
     * @return A "Supplier" list
     */
    List<Supplier> getSuppliers();

    /**
     * 
     * @return A "Supplier" list by country
     */
    List<Supplier> getSuppliersCountry(String country);
    
    /**
     * Inserts one Supplier
     * 
     * @param name Supplier's name
     * @param country Supplier's Contry
     * @return If success: true
     */
    Boolean insertSupplier(String name, String country);
}